package com.sandasai.action.admin;

import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Controller;

import com.opensymphony.xwork2.ActionSupport;
import com.sandasai.vo.UserBean;
@Controller
@Scope("prototype")
public class AdminAction extends ActionSupport {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	/**
	 * @return
	 */
	/*private String username;
	private String password;
	private String email;
	
	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}
	*/
	public String execute() {
		// TODO Auto-generated method stub
		/*System.out.println("add admin");
		UserBean user = new UserBean();
		user.setEmail(email);
		user.setPassword(password);
		user.setUsername(username);
		userManager.addAdmin(user);*/
		return SUCCESS;
	}
}